import App from './App'

// 注册全局组件
import MescrollBody from "@/uni_modules/mescroll-uni/components/mescroll-body/mescroll-body.vue"
import MescrollUni from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-uni.vue"
Vue.component('mescroll-body', MescrollBody)
Vue.component('mescroll-uni', MescrollUni)
import {
	quillEditor
} from "vue-quill-editor"; //调用编辑器
import {
	toolBars
} from "@/util/ToolBars.js";
const options = {
	placeholder: "请输入...",
	modules: {
		toolbar: {
			container: toolBars,
		}
	},
}
quillEditor.options = options
Vue.component('quillEditor', quillEditor)
import "quill/dist/quill.core.css";
import "quill/dist/quill.snow.css";
import "quill/dist/quill.bubble.css";
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
